package com.uton.mvp_demo.presenter;

import android.support.v7.app.AppCompatActivity;

import com.uton.mvp_demo.view.IBaseViewController;
import com.uton.mvp_demo.view.MainActivity;

/**
 * Created by jackwang on 2018/4/8.
 */

public class BasePresenter {

    private IBaseViewController controller;

    public void detach() {
        this.controller=null;
    }

    public void attach(IBaseViewController activity) {
        this.controller=activity;
    }

    public IBaseViewController getController() {
        return controller;
    }
}
